package cn.buk.tms.eotms.sc;

import cn.buk.common.sc.CommonSearchCriteria;
import java.util.Date;

/**
 * @author yfdai
 */
public class SearchBillInfoCriteria extends CommonSearchCriteria {

    /**
     * 账单号
     */
    private String billNum;

    private String billType;

    private String bePaid;

    /**
     * 支出状态
     */
    private int paymentStatus = -1;

    private String customerEnterpriseId;

    /**
     * 审核状态
     * -1 - 都可以
     *  0/null - 未审核
     *  1 - 已审核
     */
    private int reviewed = -1;

    /**
     * 供应商ID
     */
    private int supplierId = -1;

    /**
     * 是否已结算
     * -1 - 都可以
     *  0 - 未结算
     *  1 - 已结算
     */
    private int settled = -1;

    /**
     * 结算单号
     */
    private String settlementNo;

    /**
     * 客户的id
     */
    private int customerId = -1;

    private String costCenter;

    /**
     * 该账单客户的付款方式
     * 0-不限
     * 1-现金；
     * 2-信用卡；
     * 4-支票；
     * 8-记账
     */
    private int payType;

    /**
     * 订单号
     */
    private String orderNo;

    /**
     * 原始单号：最原始的机票订单号(改签，退票由其需要）
     */
    private String flightOrderNo;

    /**
     * 出票日期
     */
    private Date etdzDateBegin;

    /**
     * 出票日期
     */
    private Date etdzDateEnd;

    /**
     * 审核日期
     */
    private Date auditDateBegin;

    /**
     * 审核日期
     */
    private Date auditDateEnd;

    /**
     * 结算日期
     */
    private Date settleDateBegin;

    /**
     * 结算日期
     */
    private Date settleDateEnd;

    /**
     * 出票人
     */
    private String ticketer;

    /**
     * -1 所有
     * 0 国内
     * 1 国际
     */
    private int intlTicket = -1;

    private String hotelName;

    public String getBillType() {
        return billType == null ? "-1" : billType.trim();
    }

    public void setBillType(String billType) {
        this.billType = billType;
    }

    public String getBePaid() {
        return bePaid == null ? "" : bePaid;
    }

    public void setBePaid(String bePaid) {
        this.bePaid = bePaid;
    }

    public String getCustomerEnterpriseId() {
        return customerEnterpriseId == null ? "" : customerEnterpriseId.trim();
    }

    public void setCustomerEnterpriseId(String customerEnterpriseId) {
        this.customerEnterpriseId = customerEnterpriseId;
    }

    public int getReviewed() {
        return reviewed;
    }

    public void setReviewed(int reviewed) {
        this.reviewed = reviewed;
    }

    public int getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(int supplierId) {
        this.supplierId = supplierId;
    }

    public int getSettled() {
        return settled;
    }

    public void setSettled(int settled) {
        this.settled = settled;
    }

    public int getCustomerId() {
        return customerId;
    }

    public void setCustomerId(int customerId) {
        this.customerId = customerId;
    }

    public String getCostCenter() {
        return costCenter == null ? "": costCenter.trim();
    }

    public void setCostCenter(String costCenter) {
        this.costCenter = costCenter;
    }

    public int getPayType() {
        return payType;
    }

    public void setPayType(int payType) {
        this.payType = payType;
    }

    public String getBillNum() {
        return billNum == null ? "" : billNum.trim();
    }

    public void setBillNum(String billNum) {
        this.billNum = billNum;
    }

    public String getOrderNo() {
        return orderNo == null ? "": orderNo.trim();
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }


    public String getFlightOrderNo() {
        return flightOrderNo == null ? "" : flightOrderNo.trim();
    }

    public void setFlightOrderNo(String flightOrderNo) {
        this.flightOrderNo = flightOrderNo;
    }

    public Date getEtdzDateEnd() {
        return etdzDateEnd;
    }

    public void setEtdzDateEnd(Date etdzDateEnd) {
        this.etdzDateEnd = etdzDateEnd;
    }

    public Date getEtdzDateBegin() {
        return etdzDateBegin;
    }

    public void setEtdzDateBegin(Date etdzDateBegin) {
        this.etdzDateBegin = etdzDateBegin;
    }

    public String getTicketer() {
        return ticketer == null ? "" : ticketer.trim();
    }

    public void setTicketer(String ticketer) {
        this.ticketer = ticketer;
    }

    public Date getSettleDateBegin() {
        return settleDateBegin;
    }

    public void setSettleDateBegin(Date settleDateBegin) {
        this.settleDateBegin = settleDateBegin;
    }

    public Date getSettleDateEnd() {
        return settleDateEnd;
    }

    public void setSettleDateEnd(Date settleDateEnd) {
        this.settleDateEnd = settleDateEnd;
    }

    public int getIntlTicket() {
        return intlTicket;
    }

    public void setIntlTicket(int intlTicket) {
        this.intlTicket = intlTicket;
    }

    public String getSettlementNo() {
        return settlementNo == null ? "" : settlementNo.trim();
    }

    public void setSettlementNo(String settlementNo) {
        this.settlementNo = settlementNo;
    }

    public Date getAuditDateBegin() {
        return auditDateBegin;
    }

    public void setAuditDateBegin(Date auditDateBegin) {
        this.auditDateBegin = auditDateBegin;
    }

    public Date getAuditDateEnd() {
        return auditDateEnd;
    }

    public void setAuditDateEnd(Date auditDateEnd) {
        this.auditDateEnd = auditDateEnd;
    }

    public String getHotelName() {
        return hotelName;
    }

    public void setHotelName(String hotelName) {
        this.hotelName = hotelName;
    }

    public int getPaymentStatus() {
        return paymentStatus;
    }

    public void setPaymentStatus(int paymentStatus) {
        this.paymentStatus = paymentStatus;
    }
}
